function testOwnProperty() {
    const person1 = {
        set name(newName) {
            this.name = newName
        },
        // get name() {
        //     return `name: ${this.name}`
        // }
    };

    function Person() {
    }

    Person.prototype = {
        set name(name) {
            this.name = name;
        }
    }

    const person2 = {}
    Object.assign(person2, person1);
    const person3 = Object.create(Person);

    console.log(Object.getOwnPropertyDescriptors(person3), person3);
}

testOwnProperty();
